package cn.sherer.beans.douyin.playlet;

import java.util.List;
import java.util.ArrayList;
import java.io.Serializable;

/**
 * 抖音短剧端内分发可见性限制结果
 */
public class DyResourceLibraryDistributionResult implements Serializable {
    private boolean can_be_distributed;
    private List<String> open_app_id_list;

    public DyResourceLibraryDistributionResult() {
    }

    public DyResourceLibraryDistributionResult(boolean can_be_distributed, List<String> open_app_id_list) {
        this.can_be_distributed = can_be_distributed;
        this.open_app_id_list = open_app_id_list;
    }

    public boolean isCan_be_distributed() {
        return can_be_distributed;
    }

    public void setCan_be_distributed(boolean can_be_distributed) {
        this.can_be_distributed = can_be_distributed;
    }

    public List<String> getOpen_app_id_list() {
        return open_app_id_list == null ? new ArrayList<>() : open_app_id_list;
    }

    public void setOpen_app_id_list(List<String> open_app_id_list) {
        this.open_app_id_list = open_app_id_list == null ? new ArrayList<>() : open_app_id_list;
    }

    @Override
    public String toString() {
        return "DyResourceLibraryDistributionResult{" + "can_be_distributed=" + can_be_distributed + ", open_app_id_list=" + open_app_id_list + '}';
    }
}
